package com.day0909;

import java.util.Scanner;

public class Text6 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.print("请输入你需要的数字：");
        int num = in.nextInt();
        for(int i = 1; i <= num; i ++){
            for(int j = 1; j <= num - i; j ++){
                System.out.print("  ");
            }
            for(int k = 1; k <= 2 * i - 1; k++){
                System.out.print(i + " ");
            }
            System.out.println();
        }
    }
}
